package com.yenlien.traceyun.business.entity;

import com.yenlien.traceyun.business.trace.Trace;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 检测
 *
 * @author maybe
 * @date 2020年7月29日
 */
@Entity
@Table(name = "t_plant_detection")
@Trace(appName = "plant", stepName = "detection", parentStepName = {"processDetail"}, order = 1, ended = false)
public class Detection extends TraceScanEntity {
    @Column
    private String relevanceId;        //关联ID
    @Column
    private String type;            //类型(采购检测、加工检测)
    @Column
    private String organization;    //检测机构
    @Column
    private String userId;            //检测负责人ID
    @Column
    private String userName;        //检测负责人姓名
    @Column
    private String standardId;        //检测依据ID
    @Column
    private String standard;        //检测依据
    @Column
    private String detectionResult;    //检测结果(合格、不合格)
    @Column
    private String time;            //检测时间
    @Column
    private String detectionImg;    //检测报告

    public String getRelevanceId() {
        return relevanceId;
    }

    public void setRelevanceId(String relevanceId) {
        this.relevanceId = relevanceId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getOrganization() {
        return organization;
    }

    public void setOrganization(String organization) {
        this.organization = organization;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getStandardId() {
        return standardId;
    }

    public void setStandardId(String standardId) {
        this.standardId = standardId;
    }

    public String getStandard() {
        return standard;
    }

    public void setStandard(String standard) {
        this.standard = standard;
    }

    public String getDetectionResult() {
        return detectionResult;
    }

    public void setDetectionResult(String detectionResult) {
        this.detectionResult = detectionResult;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getDetectionImg() {
        return detectionImg;
    }

    public void setDetectionImg(String detectionImg) {
        this.detectionImg = detectionImg;
    }
}
